li = [1,3,5,7,8,25,4,20]
print "searching for a number that has equal sum between its two sides"
print li
print 
for i, e in enumerate(li):
    if i == 0: continue
    if i == len(li) -1 : continue 
    a = sum(li[:i])
    b = sum(li[i+1:])
    print i, e, a, b
    if a == b: print 'the balance point is %d' % e
